package com.yzt.message.activity;

import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;

import com.alibaba.android.arouter.launcher.ARouter;
import com.yzt.zhuju.base.BaseActivity;
import com.yzt.message.R;
import com.yzt.message.adapter.InteractiveMessagesAdapter;


/**
 * 作者：bobwang
 * 创建时间：2023-11-19 22:33:32
 * 描述：互动消息
 */
public class InteractiveMessagesActivity extends BaseActivity {

    private RecyclerView mMsgRecycler;

    private InteractiveMessagesAdapter mAdapter;

    @Override
    public int getLayoutId() {
        return R.layout.activity_system_msg;
    }

    @Override
    public void installViews() {
        ARouter.getInstance().inject(this);
        mTitleBar.setTitle("互动消息");
        mMsgRecycler = findViewById(R.id.recycler_view);
        mMsgRecycler.setHasFixedSize(true);
        LinearLayoutManager layoutManager = new LinearLayoutManager(this);
        mMsgRecycler.setLayoutManager(layoutManager);

        mAdapter = new InteractiveMessagesAdapter();
        mMsgRecycler.setAdapter(mAdapter);
    }
}
